export default {
  path: "/employess",
  redirect: "/employess/list",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "员工管理",
    rank:10
  },
  children: [
    {
      path: "/employess/list",
      name: "employessList",
      component: () => import("@/views/employess/Index.vue"),
      meta: {
        title: "员工列表",
      
        roles: ["admin"]
      
      }
    },
    {
      path: "/employess/add",
      name: "employessAdd",
      component: () => import("@/views/employess/AddEmployess.vue"),
      meta: {
        title: "新增员工",
        showLink: false
      }
    },
    {
      path: "/employess/update",
      name: "employessUpdate",
      component: () => import("@/views/employess/UpdateEmployess.vue"),
      meta: {
        title: "修改员工",
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
